package cn.fintecher.gis.model.session;

import cn.fintecher.gis.entity.BaseEntity;
import cn.fintecher.gis.entity.Resource;
import cn.fintecher.gis.enums.CommonState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Set;
@Data
public class SessionRole implements Serializable {
         private String id;
        @ApiModelProperty("角色名称")
        private String roleName;

        @ApiModelProperty("角色状态 1 启用  2.停用")
        @Enumerated(EnumType.STRING)
        private CommonState roleStatus;

         private Set<SessionResource> resources;

}
